/**
 * 	CSS style for group 6 Saturn restaurant DSS-project
 *
 *  Created by Olof Ekelund.
 */


/* Link styles */
a img {
	text-decoration: none;
	border: 0 none;
}

A:visited { text-decoration: none; color: none; }
A:active { text-decoration: none }
A:hover { color: red; }

h2 {
	font-family: Georgia, serif; 
	letter-spacing: 2px;
	color: #333;
}

body { 
	font-family: Georgia, serif; 
	font-size: 13px;
	color: #333;
	background-color: #eee;
	margin: 0 auto;
}
	
#container {
	overflow: hidden;
	width: 902px;
	margin: 10px auto;
	position: relative;
	padding: 5px;
	background-color: #cdd8ff;
	border: 1px solid #999;	
}

#header {
	width: 900px;
	overflow: hidden;
	margin: 0px 0px 5px 0px;
	font-family: Georgia, serif;
	background-color: #fff;
	border: 1px solid #999;
	float: left;
}

#owner a {
	position: absolute;
	text-decoration: none;
	font-family: Georgia, serif; 
	font-size: 12px;
	letter-spacing: 2px;
	color: #333;
	background: #fff;
	padding: 1px 3px 1px 3px;
	top: 11px;
	right: 11px;
	border: 1px solid #999;
}

#firstpage {
	float: left;
	margin: 0px 0px 5px 0px;
	width: 690px;
	background-color: #fff;
	padding: 5px;
	border: 1px solid #999;	
}

#firstpage p {
	text-indent: 40px;
}

/* The searchresultpage and styles for its tables(odd and even to alternate colors). */

#searchresultpage {
	float: left;
	margin: 0px 0px 5px 0px;
	width: 690px;
	background-color: #fff;
	padding: 5px;
	border: 1px solid #999;	
	letter-spacing: 0px;
}

#searchresultpage a {
	text-decoration: none;
}

#searchresultpage table {
	border-collapse: collapse;
	background-color: #fff;
	margin: 0 auto;
	width: 100%;
}

#searchresultpage th {
	background-color: #cdd8ff;
	height: 40px;
	border-bottom: 1px solid #333;
}

#searchresultpage td {
	padding: 10px;
	text-align: center;
}

tr.even {
	background-color: #fff;
}

tr.odd {
	background-color: #dde8ff;
}

#restaurantlist {
	float: right;
	margin: 0px 0px 5px 0px;
	width: 183px;
	padding: 5px;
	border: 1px solid #999;	
	background-color: #fff;
}

#restaurantlist a {
	line-height: 120%;
	font-size: 14px;
	text-decoration: none;
	color: #333;
}

#restaurantlist ul {
	list-style: none;
	margin-left: 0;
	padding-left: 1em;
	text-indent: -1em;
}

#restaurantlist ul li:before {
	content: "\00BB \0020";
}

ul.menulist {
	border: 1px solid black;
	float: left;
	width: 38%;
}

#restinfo {
	clear: right;
	float: right;
	margin: 0px 0px 5px 0px;
	width: 183px;
	padding: 5px;
	border: 1px solid #999;	
	background-color: #fff;
}

/* (google map)  */
#map_canvas {
	padding: 3px;
	border: 1px solid black;
	float: right;
	width: 681px;
	height: 330px;
}

#footer {
	clear: both;
	float:left;	
	font-size: 11px;
	width: 900px;
	background-color: #fff;
	border: 1px solid #999;	
}

.adv-search {
    display: none;
    width: 680px;
    clear: both;
    background-color: #fff;
}

.adv-left {
	float: left;
	width: 360px;
	background-color: #fff;
}

.adv-left td {
	width: 170px;
}

.adv-right {
	float: right;
	width: 300px;
	background-color: #fff;
}

/* menu divs on restaurant page */
.alacarte {
	display: none;
}

.lunch {
	display: none;
}

/* owner login box */
#popupbox{
  	margin: 0; 
  	margin-left: 40%; 
  	margin-right: 40%;
  	margin-top: 50px; 
  	padding-top: 10px; 
  	width: 20%; 
  	height: 160px; 
  	position: absolute; 
  	background: #B28C8C; 
  	border: solid #000000 2px; 
  	z-index: 9; 
  	font-family: arial; 
  	visibility: hidden; 
}

/* Contains the searchbox and advanced search. */
.form-wrapper {
	float: left;
    padding: 5px;
    margin: 0px 0px 5px 0px;
    overflow: hidden;
    width: 690px;
    background-color: #fff;
    border: 1px solid #999;
}

.form-wrapper ul {
    clear: both;
    padding: 0px;
}

.form-wrapper li {
    padding: 5px 0px 0px 5px;
    background: #fff;
    display: inline;
}
 
/* Form text input */

#searchbox {
    overflow: visible;
    position: relative;
    float: left; 
    width: 479px;
    height: 31px;
    padding: 0px;   
    font: bold 15px 'lucida sans', 'trebuchet MS', 'Tahoma';
    border: 1px #555;
	border-top-style:solid;
	border-right-style:none;
	border-bottom-style:solid;
	border-left-style:solid;
    background: #fff;
}
 
#searchbox:focus {
    outline: 0;
    background: #fff;
    box-shadow: 0 0 1px rgba(0,0,0,.5) inset;
}
 
.form-wrapper input::-webkit-input-placeholder {
   color: #999;
   font-weight: normal;
   font-style: italic;
}
 
.form-wrapper input:-moz-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}
 
.form-wrapper input:-ms-input-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}
 
/* Form submit button */
.form-wrapper button {
    overflow: visible;
    position: relative;
    padding: 0;
    cursor: pointer;
    height: 33px;
    width: 210px;
    font: bold 14px/30px 'lucida sans', 'trebuchet MS', 'Tahoma';
    color: #fff;
    text-transform: uppercase;
    border: 1px #555;
	border-top-style:solid;
	border-right-style:solid;
	border-bottom-style:solid;
	border-left-style:none;
    background: #d83c3c;
    text-shadow: 0 -1px 0 rgba(0, 0 ,0, .3);
}   
   
.form-wrapper button:hover{     
    background: #e54040;
}   
   
.form-wrapper button:active,
.form-wrapper button:focus{   
    background: #c42f2f;
    outline: 0;   
}
 
.form-wrapper button:before { /* left arrow */
    content: '';
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid solid solid none;
    border-color: transparent #d83c3c transparent;
    top: 8px;
    left: -6px;
}
 
.form-wrapper button:hover:before{
    border-right-color: #e54040;
}
 
.form-wrapper button:focus:before,
.form-wrapper button:active:before{
        border-right-color: #c42f2f;
}      
 
.form-wrapper button::-moz-focus-inner { /* remove extra button spacing for Mozilla Firefox */
    border: 0;
    padding: 0;
}    
